<%@page import="com.buss.core.dic.MenuType"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../includes/tag.jsp" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<form:form name="prop_edit" action="" commandName="prop"  style="margin-top:20px;">
	<form:hidden path="id"/>
	<form:hidden path="propGroup.id"/> 
	<form:hidden path="sortOrder"/>
	<table width="100%" align="center" cellpadding="0" cellspacing="8">
	  <tr>
	  	<td align="right" style="width:150px;">属性编码：</td>
	  	<td><form:input path="code" size="30" cssClass="text"/> </td>
	  </tr>
	  <tr>
	  	<td align="right">属性名称：</td>
	  	<td><form:input path="name"  size="30" cssClass="text"/> </td>  	
	  </tr>  
	  <tr>
	  	<td align="right">选择类型：</td>
	  	<td>
	  		<form:radiobuttons path="selectType" itemLabel="value"/>
	  	</td>  	
	  </tr>  
	  <tr>
	  	<td align="right">录入方式：</td>
	  	<td>
	  		<form:radiobuttons path="entryWay" itemLabel="value"/>
	  	</td>  	
	  </tr>
	  <tr id="prop_dicCode">
	  	<td align="right">对应字典：</td>
	  	<td>
	  		<form:hidden path="dicCode" />
	  		<form:input path="dicName" size="30" cssClass="text"/>
	  		<a id="sel_dicCode" href="javascript:void(0);">选择</a>
	  	</td>  	
	  </tr>
	  <tr id="prop_listValues">
	  	<td align="right">列表值：</td>
	  	<td>
	  		<form:textarea path="listValues" rows="4" cols="30" cssClass="textarea"/>	  		
	  	</td>  	
	  </tr>
	  <tr id="prop_listVisible">
	  	<td align="right">商品列表显示：</td>
	  	<td>
	  		<form:radiobutton path="listVisible" label="可以" value="true" />
			<form:radiobutton path="listVisible" label="不可以" value="false"/>	  		
	  	</td>  	
	  </tr>
	  <tr>
	  	<td align="right">统计商品明细显示：</td>
	  	<td>
	  		<form:radiobutton path="statisVisible" label="显示" value="true" />
			<form:radiobutton path="statisVisible" label="不显示" value="false"/>	  		
	  	</td>  	
	  </tr>
	  <tr>
	  	<td align="right">用于查询条件：</td>
	  	<td>
	  		<form:radiobutton path="isSearch" label="是" value="true" />
			<form:radiobutton path="isSearch" label="否" value="false"/>	  		
	  	</td>  	
	  </tr>
	  <tr>
	  	<td align="right">当前状态：</td>
		<td>
			<form:radiobutton path="status" label="正常" value="normal" />
			<form:radiobutton path="status" label="不可用" value="disabled"/>
		</td>
	  </tr>
	</table>
</form:form>
